<%@ page pageEncoding="UTF-8"%><%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ page import="com.sunb2b.entity.*" %>
<%
	Member m = (Member)request.getSession().getAttribute("member");
%>
    <div class="box4 f12">
    	<%if(m==null){%>
    	<div class="box5">
    	<form method="post" action="<c:url value="/login" />">
	    	用户名:
	    	<input name="username" />
	    	密码: 
	    	<input type="password" name="password" />
	    	<input type="submit" value="登陆" />
	    	<input type="button" value="注册" onclick="document.location.href='<c:url value="/register" />'" />
	    </form>
    	</div>
    	<%}else{%>
    	<div class="box5" align="right">
    		<a href="<c:url value="/member/memberCenter" />">个人中心</a>
    		<a href="<c:url value="/logout" />">退出登陆</a>
    	</div>
    	<%}%>
    	
    </div>
    <div class="box3 mb10">
        <img src="<c:url value="/resources/images/2058957-beijing.gif" />" width="966px" />
    </div>
    <div class="box3">
        <div class="nav-menu" align="right">
            <ul>
                <li><a href="#">首页</a></li>
                <li><a href="#">行业动态</a></li>
                <li><a href="#">媒体银行</a></li>
                <li><a href="#">公司大全</a></li>
                <li><a href="#">招商合作</a></li>
                <li><a href="#">产品供求</a></li>
                <li><a href="#">580服务</a></li>
                <li><a href="#">行业人才</a></li>
                <li><a href="#">传媒学院</a></li>
            </ul>
        </div>
    </div>